# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

inherit kde4-base

DESCRIPTION="Allows you to change style, icons, font of GTK applications in KDE4. After installing, 'GTK styles' tab will appear in Systemsettings. If you have qt4 theme installed, you may choose 'Use current KDE style', to make your GTK apps look like KDE ones (press 'Apply' every time, when you change you KDE style) . Or you can choose another installed GTK theme. You also can change icon themes, and fonts. Instructions how to install inside archives, in readme files."
HOMEPAGE="http://www.kde-look.org/content/show.php/gtk-kde4?content=74689"
SRC_URI="http://www.kde-look.org/CONTENT/content-files/74689-gtk-kde4v${PV}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="kde-base/kdebase-meta:4.2"

S="${WORKDIR}/gtk-kde4"

src_unpack() {
    unpack ${A}
    cd "${S}"
}

src_compile() {
    cmake . || die "cmake failed"
    emake || die "emake failed"
}
